package com.smart.manager.member.entities.bodys;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.member.entities.enums.ChickenState;
import com.smart.manager.member.entities.views.MemberView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;


/**
 * @author leo
 * @date 2023/09/22
 */
public class RMemberMaterialChicken {
    @EqualsAndHashCode(callSuper = true)
    @Data
    @ApiModel("RMemberMaterialPig1")
    public static class SearchBody extends BaseSearch {

        @ApiModelProperty("鸡蛋批次")
        private String code;

        @ApiModelProperty("猪仔代码")
        private String pigCode;

        @ApiModelProperty("所属玩家")
        private MemberView member;

        @ApiModelProperty("显示时间")
        private LocalDateTime displayTime;

        @ApiModelProperty("回收时间")
        private LocalDateTime recovery;

        @ApiModelProperty("失败人员")
        private List<Long> fail_member;

        @ApiModelProperty("领取玩家")
        private MemberView receive;

        @ApiModelProperty("鸡蛋状态")
        private ChickenState state;
    }

}
